package com.yunpeng.aidevice.common.vo;

import java.io.Serializable;

/**
 * NoticeMailConfigVO
 *
 * @author : Moore(hemw)
 * @date : 2020-05-04
 */
public class NoticeMailConfigVO implements Serializable {

    /**
     * 商户代码
     */
    private String merchantCode;

    /**
     * 邮件传输协议，默认smtp
     */
    private String protocol;

    /**
     * 邮箱服务器地址
     */
    private String mailHost;

    /**
     * 发送人邮箱地址
     */
    private String senderEmail;

    /**
     * 发送人名称
     */
    private String senderName;

    /**
     * 发送人邮箱密码
     */
    private String password;

    /**
     * 端口
     */
    private Integer port;

    public NoticeMailConfigVO(String merchantCode, String protocol, String mailHost, String senderEmail, String senderName, String password, Integer port) {
        this.merchantCode = merchantCode;
        this.protocol = protocol;
        this.mailHost = mailHost;
        this.senderEmail = senderEmail;
        this.senderName = senderName;
        this.password = password;
        this.port = port;
    }

    public String getMerchantCode() {
        return merchantCode;
    }

    public void setMerchantCode(String merchantCode) {
        this.merchantCode = merchantCode;
    }

    public String getProtocol() {
        return protocol;
    }

    public void setProtocol(String protocol) {
        this.protocol = protocol;
    }

    public String getMailHost() {
        return mailHost;
    }

    public void setMailHost(String mailHost) {
        this.mailHost = mailHost;
    }

    public String getSenderEmail() {
        return senderEmail;
    }

    public void setSenderEmail(String senderEmail) {
        this.senderEmail = senderEmail;
    }

    public String getSenderName() {
        return senderName;
    }

    public void setSenderName(String senderName) {
        this.senderName = senderName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Integer getPort() {
        return port;
    }

    public void setPort(Integer port) {
        this.port = port;
    }

    @Override
    public String toString() {
        return "NoticeMailConfigVO{" +
                "merchantCode='" + merchantCode + '\'' +
                ", protocol='" + protocol + '\'' +
                ", mailHost='" + mailHost + '\'' +
                ", senderEmail='" + senderEmail + '\'' +
                ", senderName='" + senderName + '\'' +
                ", password='" + password + '\'' +
                ", port='" + port + '\'' +
                '}';
    }
}
